import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  orderNum: [{ required: true, message: "出库单号必填项", trigger: "blur" }],
  orderType: [{ required: true, message: "单据类型必填项", trigger: "change" }],
  customerId: [{ required: true, message: "客户必填项", trigger: "change" }],
  
});
